package com.jelly.web.modules.message.domain;

import java.util.Date;

public class Message {
    /** 主键 */
    private String msgId;

    /** 消息的类型，1: 提醒 Remind，2：信息 Message */
    private String msgType;

    /** 目标id */
    private String targetId;

    /** 目标的类型（文章，评论） */
    private String targetType;

    /** 提醒信息的动作类型 */
    private String action;

    /** 发送者id */
    private String senderId;

    /** 消息发送时间 */
    private Date addDate;

    /** 已读（Y）未读（N） */
    private String isRead;

    /** 已读时间 */
    private Date isReadDate;

    /** 内容 */
    private String content;

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId == null ? null : msgId.trim();
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType == null ? null : msgType.trim();
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId == null ? null : targetId.trim();
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType == null ? null : targetType.trim();
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action == null ? null : action.trim();
    }

    public String getSenderId() {
        return senderId;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId == null ? null : senderId.trim();
    }

    public Date getAddDate() {
        return addDate;
    }

    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }

    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead == null ? null : isRead.trim();
    }

    public Date getIsReadDate() {
        return isReadDate;
    }

    public void setIsReadDate(Date isReadDate) {
        this.isReadDate = isReadDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}